package jpa.dsl.boot.repository;

import jpa.dsl.boot.model.Student;
import jpa.dsl.boot.model.generate.QStudent;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.querydsl.QueryDslPredicateExecutor;
import org.springframework.data.querydsl.binding.QuerydslBinderCustomizer;
import org.springframework.data.querydsl.binding.QuerydslBindings;
import org.springframework.stereotype.Repository;

/**
 * @Author: yangdingshan
 * @Date: 2019/7/15 20:53
 * @Description:
 */
@Repository
public interface StudentRepository extends JpaRepository<Student, Integer> , JpaSpecificationExecutor<Student>, QueryDslPredicateExecutor<Student>
        , QuerydslBinderCustomizer<QStudent> {
    default void customize(QuerydslBindings bindings, QStudent qStudent) {
    }
}
